package com.itzhoun.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itzhoun.entity.SysJobLog;
import com.itzhoun.mapper.JobLogMapper;
import com.itzhoun.service.JobLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 周楠
 * @Date 2022/08/17/下午 9:56
 */
@Service
public class JobLogServiceImpl extends ServiceImpl<JobLogMapper, SysJobLog> implements JobLogService {

    @Resource
    private JobLogMapper jobLogMapper;

    /**
     * 清空日志
     */
    @Override
    public void cleanJobLog() {
        jobLogMapper.cleanJobLog();
    }
}
